using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using DotNetClassLib.Interfaces;

namespace DotNetClassLib
{
  public static class Factory
  {
    public static ITestInterface GetTestInterface()
    {
      return new TestInterfaceImplementation();
    }

    private class TestInterfaceImplementation : ITestInterface
    {
      private int dummyValue;

      public string MakeUpper(string value)
      {
        return value.ToUpper(CultureInfo.InvariantCulture);
      }

      public int DummyValue
      {
        get { return dummyValue; }
        set { dummyValue = value; }
      }

      public IList<double> GetList()
      {
        return new List<double>();
      }
    }
  }
}
